package ru.spies.loginOrRegistration;

import javax.servlet.http.HttpServletRequest;

import ru.spies.forms.LoginOrRegistrationForm;

public class PrepareRegistrationWork extends AbstractLoginOrRegistrationWork {

	private static PrepareRegistrationWork statThis;
	
	public PrepareRegistrationWork() {
		
	}
	
	public static PrepareRegistrationWork getInstance(){
		if (statThis==null){
			statThis = new PrepareRegistrationWork();
		}
		return statThis;
	}

	@Override
	protected String createForm(HttpServletRequest request) {
		return LoginOrRegistrationForm.getInstance().createRegistrationForm();
	}

}
